﻿using Common.Enums;

using GameCommon.Base;
using GameCommon.Effects;

namespace Menu.Screens.Background
{
    public class MenuBackground : ScreenBase
    {
        public MenuBackground(IScreenChanger changer, object argument)
            : base(changer, argument)
        {
        }

        public override ScreenEnum Screen
        {
            get
            {
                return ScreenEnum.MenuBackground;
            }
        }

        public override void LoadContent()
        {
            base.LoadContent();

            this.Components.AddRange(MenuBackgroundBuilder.GetTiles());
            this.Camera.CheckMaxPosition = false;
            this.Camera.X = 50;
            this.Camera.Y = 90;

            this.Effects.Add(new GaussianBlur(1));
            this.Effects.Add(new Darker(2));
        }
    }
}